#ifndef COMMON_VALUES_H
#define COMMON_VALUES_H

#define ACTION_SIZE (size_t)256

#define DELETE (char*)".../delete\0"
#define DOWNLOAD (char*)".../download\0"
#define LIST (char*)".../list\0"
#define RENAME (char*)".../rename\0"
#define QUIT (char*)".../quit\0"
#define UPLOAD (char*)".../upload\0"

enum {DELETE_NUMBER=1, DOWNLOAD_NUMBER, LIST_NUMBER,
      RENAME_NUMBER, QUIT_NUMBER, UPLOAD_NUMBER, MAX_NUMBER};
#define ERROR_NUMBER -1

#define SERV_PORT (short(3456))

// Macro pour le mode verbose
#define _V if(verbose)

int getActionType(char * action);

#endif
